﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace SMS.Domain.Entities
{
    public class OngDelegacion: Auditable
    {
        public int OngDelId { get; set; }

        [StringLength(100)]
        [Required()]
        public string Localidad { get; set; }

        //Propiedades de navegación.
        public int OngId { get; set; }
        public virtual Ong Ong { get; set; }
        public virtual ICollection<UserOng> UsersOng { get; set; }
    }
}
